package com.ylbh.common.pojo.goods.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author czx
 */
public class GoodsVO {

    @Data
    // 商品信息返回参数
    public static class GoodsListVO{
        private String img;

        private String goodsName;

        private Long id;

        private Date addTime;

        private Integer goodsStatus;

        private String goodsSerial;

        private Integer goodsSalenum;

        private Integer goodsClick;

        private Integer isBest;

        private Integer priceType;

        private String className;

        private BigDecimal vipprice;

        private Integer integral;

        private BigDecimal goodscostingprice;

        private BigDecimal goodsPrice;

        private String path;

        private String name;

        private String url;
    }

    @Data
    // 商品详情返回字段
    public static class GoodsDetailsVO{
        private Long id;

        private Long photoId;

        private String goodsName;

        private String img;

        private List<RotationChart> imgs;

        private Date addTime;

        private Integer goodsClick;

        private Integer goodsInventory;

        private String seoKeywords;

        private String seoDescription;

        private Integer warnNumber;

        private BigDecimal goodsPrice;

        private BigDecimal vipprice;

        private BigDecimal goodscostingprice;

        private Integer goodsSalenum;

        private String goodsSerial;

        private BigDecimal expressTransFee;

        private String goodsBrief;

        private Integer integral;

        private Integer priceType;

        private String goodsDetails;

        private String path;

        private String name;
    }

    @Data
    // 返回商品的轮播图
    public static class RotationChart{
        private Long id;

        private String imgSrc;

    }
}
